package com.vader.admin;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author kaivader
 */
@SpringBootApplication(scanBasePackages = "com.vader.admin")
@MapperScan(basePackages = "com.vader.admin.dao")
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "com.vader")
public class AdminApplication {
    public static void main(String[] args) {
        SpringApplication.run(AdminApplication.class, args);
    }
}
